home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Electronics Plus 3
/
PC Electronics Plus 3.iso
/
ts
/
defmacro.ne_
/
defmacro.ne
Wrap
Text File
|
1996-01-04
|
48KB
|
1,989 lines
* LF347 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LF347 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=14.15E6*I(vb)-10E6*I(vc)+10E6*I(ve)+10E6*I(vlp)-10E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 1.590E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 50
ro2 7 99 25
rp 3 4 15.00E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=25.00E-12 Beta=235.1E-6 Vto=-1)
.ends
* LF351 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LF351 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=28.29E6*I(vb)-30E6*I(vc)+30E6*I(ve)+30E6*I(vlp)-30E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 1.590E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 50
ro2 7 99 25
rp 3 4 15.00E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model jx PJF(Is=12.50E-12 Beta=250.1E-6 Vto=-1)
.ends
* LF353 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LF353 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=28.29E6*I(vb)-30E6*I(vc)+30E6*I(ve)+30E6*I(vlp)-30E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 1.590E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 50
ro2 7 99 11.62
rp 3 4 15.00E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model jx PJF(Is=12.50E-12 Beta=250.1E-6 Vto=-1)
.ends
* LF411C operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LF411C 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=28.29E6*I(vb)-30E6*I(vc)+30E6*I(ve)+30E6*I(vlp)-30E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 1.590E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 50
ro2 7 99 25
rp 3 4 15.00E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model jx PJF(Is=12.50E-12 Beta=250.1E-6 Vto=-1)
.ends
* LF412C operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LF412C 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=28.29E6*I(vb)-30E6*I(vc)+30E6*I(ve)+30E6*I(vlp)-30E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 1.590E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 50
ro2 7 99 25
rp 3 4 15.00E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model jx PJF(Is=12.50E-12 Beta=250.1E-6 Vto=-1)
.ends
* LM107 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM107 1 2 3 4 5
*
c1 11 12 6.996E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=53.05E6*I(vb)-50E6*I(vc)+50E6*I(ve)+50E6*I(vlp)-50E6*I(vln)
ga 6 0 11 12 156.8E-6
gcm 0 6 10 99 2.682E-9
iee 10 4 dc 15.06E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 6.631E3
rc2 3 12 6.631E3
re1 13 10 3.169E3
re2 14 10 3.169E3
ree 10 99 13.28E6
ro1 8 5 50
ro2 7 99 25
rp 3 4 16.81E3
vb 9 0 dc 0
vc 3 53 dc 2.700
ve 54 4 dc 2.700
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=250)
.ends
* LM111 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | | OUTPUT GROUND
* | | | | | |
.SUBCKT LM111 1 2 3 4 5 6
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .45
VI2 22 2 DC .45
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=666.7)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=102.5E-9)
E1 10 6 9 4 1
V1 10 11 DC 0
Q5 5 11 6 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=103.5E3 CJC=1E-15 TF=11.60E-12 TR=48.19E-9)
DP 4 3 DX
RP 3 4 6.667E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM139 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM139 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM193 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM193 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM239 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM239 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM239A VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM239A 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM2901 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM2901 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=3.378E3 CJC=1E-15 TF=930.2E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 50.00E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM2903 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM2903 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=3.378E3 CJC=1E-15 TF=930.2E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 50.00E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM293A VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM293A 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM307 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM307 1 2 3 4 5
*
c1 11 12 8.887E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=42.44E6*I(vb)-40E6*I(vc)+40E6*I(ve)+40E6*I(vlp)-40E6*I(vln)
ga 6 0 11 12 188.5E-6
gcm 0 6 10 99 3.352E-9
iee 10 4 dc 15.14E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 5.305E3
rc2 3 12 5.305E3
re1 13 10 1.839E3
re2 14 10 1.839E3
ree 10 99 13.21E6
ro1 8 5 50
ro2 7 99 25
rp 3 4 16.81E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=107.1)
.ends
* LM318 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM318 1 2 3 4 5
*
c1 11 12 8.50E-12
c2 6 7 25.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=1.697E6*I(vb)-2E6*I(vc)+2E6*I(ve)+2E6*I(vlp)-2E6*I(vln)
ga 6 0 11 12 2.474E-3
gcm 0 6 10 99 13.25E-9
iee 10 4 dc 1.750E-3
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 424.4
rc2 3 12 424.4
re1 13 10 394.7
re2 14 10 394.7
ree 10 99 114.3E3
ro1 8 5 50
ro2 7 99 50
rp 3 4 9.231E3
vb 9 0 dc 0
vc 3 53 dc 2.700
ve 54 4 dc 2.700
vlim 7 8 dc 0
vlp 91 0 dc 21
vln 0 92 dc 21
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=5.833E3)
.ends
* LM324 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM324 1 2 3 4 5
*
c1 11 12 5.544E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=15.91E6*I(vb)-20E6*I(vc)+20E6*I(ve)+20E6*I(vlp)-20E6*I(vln)
ga 6 0 11 12 125.7E-6
gcm 0 6 10 99 7.067E-9
iee 3 10 dc 10.04E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 7.957E3
rc2 4 12 7.957E3
re1 13 10 2.773E3
re2 14 10 2.773E3
ree 10 99 19.92E6
ro1 8 5 50
ro2 7 99 50
rp 3 4 30.31E3
vb 9 0 dc 0
vc 3 53 dc 2.100
ve 54 4 dc .6
vlim 7 8 dc 0
vlp 91 0 dc 40
vln 0 92 dc 40
.model dx D(Is=800.0E-18)
.model qx PNP(Is=800.0E-18 Bf=250)
.ends
* LM339A VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM339A 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LM348 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM348 1 2 3 4 5
*
c1 11 12 9.461E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 256.2E-6
gcm 0 6 10 99 4.023E-9
iee 10 4 dc 15.06E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 4.420E3
rc2 3 12 4.420E3
re1 13 10 968
re2 14 10 968
ree 10 99 13.28E6
ro1 8 5 150
ro2 7 99 150
rp 3 4 51.28E3
vb 9 0 dc 0
vc 3 53 dc 3.600
ve 54 4 dc 3.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=250)
.ends
* LM358 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LM358 1 2 3 4 5
*
c1 11 12 5.544E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=15.91E6*I(vb)-20E6*I(vc)+20E6*I(ve)+20E6*I(vlp)-20E6*I(vln)
ga 6 0 11 12 125.7E-6
gcm 0 6 10 99 7.067E-9
iee 3 10 dc 10.04E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 7.957E3
rc2 4 12 7.957E3
re1 13 10 2.773E3
re2 14 10 2.773E3
ree 10 99 19.92E6
ro1 8 5 50
ro2 7 99 50
rp 3 4 30.31E3
vb 9 0 dc 0
vc 3 53 dc 2.100
ve 54 4 dc .6
vlim 7 8 dc 0
vlp 91 0 dc 40
vln 0 92 dc 40
.model dx D(Is=800.0E-18)
.model qx PNP(Is=800.0E-18 Bf=250)
.ends
* LM393A VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT LM393A 1 2 3 4 5
*
F1 9 3 V1 1
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
DP 4 3 DX
RP 3 4 46.3E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* LT1001 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LT1001 1 2 3 4 5
*
c1 11 12 3.822E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=117.9E6*I(vb)-100E6*I(vc)+100E6*I(ve)+100E6*I(vlp)-100E6*I(vln)
ga 6 0 11 12 84.81E-6
gcm 0 6 10 99 21.25E-12
iee 10 4 dc 3.751E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 13.26E3
rc2 3 12 13.26E3
re1 13 10 -532.7
re2 14 10 -532.7
ree 10 99 53.32E6
ro1 8 5 90
ro2 7 99 90
rp 3 4 19.61E3
vb 9 0 dc 0
vc 3 53 dc 1.700
ve 54 4 dc 1.700
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=3.750E3)
.ends
* LT1028 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt LT1028 1 2 3 4 5
*
c1 11 12 168.4E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=61.89E6*I(vb)-60E6*I(vc)+60E6*I(ve)+60E6*I(vlp)-60E6*I(vln)
ga 6 0 11 12 14.14E-3
gcm 0 6 10 99 3.985E-9
iee 10 4 dc 450.1E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 70.73
rc2 3 12 70.73
re1 13 10 -44.22
re2 14 10 -44.22
ree 10 99 444.4E3
ro1 8 5 40
ro2 7 99 40
rp 3 4 4.196E3
vb 9 0 dc 0
vc 3 53 dc 2.700
ve 54 4 dc 2.700
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=7.500E3)
.ends
* MC1458 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt MC1458 1 2 3 4 5
*
c1 11 12 4.664E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=10.61E6*I(vb)-10E6*I(vc)+10E6*I(ve)+10E6*I(vlp)-10E6*I(vln)
ga 6 0 11 12 137.7E-6
gcm 0 6 10 99 2.574E-9
iee 10 4 dc 10.16E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 7.957E3
rc2 3 12 7.957E3
re1 13 10 2.740E3
re2 14 10 2.740E3
ree 10 99 19.69E6
ro1 8 5 150
ro2 7 99 150
rp 3 4 18.11E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=62.50)
.ends
* MC3403 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt MC3403 1 2 3 4 5
*
c1 11 12 7.544E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=42.44E6*I(vb)-40E6*I(vc)+40E6*I(ve)+40E6*I(vlp)-40E6*I(vln)
ga 6 0 11 12 130.7E-6
gcm 0 6 10 99 2.235E-9
iee 3 10 dc 12.40E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 7.957E3
rc2 4 12 7.957E3
re1 13 10 3.529E3
re2 14 10 3.529E3
ree 10 99 16.13E6
ro1 8 5 37.50
ro2 7 99 37.50
rp 3 4 43.62E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model qx PNP(Is=800.0E-18 Bf=30)
.ends
* OP-07C operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-07C 1 2 3 4 5
*
c1 11 12 2.887E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=147.3E6*I(vb)-100E6*I(vc)+100E6*I(ve)+100E6*I(vlp)-100E6*I(vln)
ga 6 0 11 12 113.1E-6
gcm 0 6 10 99 56.69E-12
iee 10 4 dc 7.501E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 8.841E3
rc2 3 12 8.841E3
re1 13 10 1.943E3
re2 14 10 1.943E3
ree 10 99 26.66E6
ro1 8 5 30
ro2 7 99 30
rp 3 4 12.04E3
vb 9 0 dc 0
vc 3 53 dc 2.900
ve 54 4 dc 2.900
vlim 7 8 dc 0
vlp 91 0 dc 20
vln 0 92 dc 20
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=5.357E3)
.ends
* OP-07D operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-07D 1 2 3 4 5
*
c1 11 12 6.996E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=115.9E6*I(vb)-100E6*I(vc)+100E6*I(ve)+100E6*I(vlp)-100E6*I(vln)
ga 6 0 11 12 115.0E-6
gcm 0 6 10 99 204.5E-12
iee 10 4 dc 9.004E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 8.696E3
rc2 3 12 8.696E3
re1 13 10 2.947E3
re2 14 10 2.947E3
ree 10 99 22.21E6
ro1 8 5 30
ro2 7 99 31.2
rp 3 4 11.29E3
vb 9 0 dc 0
vc 3 53 dc 2.800
ve 54 4 dc 2.800
vlim 7 8 dc 0
vlp 91 0 dc 20
vln 0 92 dc 20
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=2.250E3)
.ends
* OP-07E operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-07E 1 2 3 4 5
*
c1 11 12 2.887E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=147.3E6*I(vb)-100E6*I(vc)+100E6*I(ve)+100E6*I(vlp)-100E6*I(vln)
ga 6 0 11 12 113.1E-6
gcm 0 6 10 99 56.69E-12
iee 10 4 dc 7.501E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 8.841E3
rc2 3 12 8.841E3
re1 13 10 1.943E3
re2 14 10 1.943E3
ree 10 99 26.66E6
ro1 8 5 30
ro2 7 99 30
rp 3 4 12.04E3
vb 9 0 dc 0
vc 3 53 dc 2.900
ve 54 4 dc 2.900
vlim 7 8 dc 0
vlp 91 0 dc 20
vln 0 92 dc 20
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=5.357E3)
.ends
* OP-27C operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-27C 1 2 3 4 5
*
c1 11 12 2.730E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=22.86E6*I(vb)-20E6*I(vc)+20E6*I(ve)+20E6*I(vlp)-20E6*I(vln)
ga 6 0 11 12 852.1E-6
gcm 0 6 10 99 754.1E-12
iee 10 4 dc 42.03E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 1.326E3
rc2 3 12 1.326E3
re1 13 10 94.44
re2 14 10 94.44
ree 10 99 4.759E6
ro1 8 5 88
ro2 7 99 87
rp 3 4 10.14E3
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 40
vln 0 92 dc 40
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=1.400E3)
.ends
* OP-27E operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-27E 1 2 3 4 5
*
c1 11 12 2.730E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=67.36E6*I(vb)-70E6*I(vc)+70E6*I(ve)+70E6*I(vlp)-70E6*I(vln)
ga 6 0 11 12 763.5E-6
gcm 0 6 10 99 215.2E-12
iee 10 4 dc 42.02E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 1.310E3
rc2 3 12 1.310E3
re1 13 10 78.10
re2 14 10 78.10
ree 10 99 4.760E6
ro1 8 5 35
ro2 7 99 37
rp 3 4 9.810E3
vb 9 0 dc 0
vc 3 53 dc 1.800
ve 54 4 dc 1.800
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=2.100E3)
.ends
* OP-27G operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP-27G 1 2 3 4 5
*
c1 11 12 2.730E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=22.86E6*I(vb)-20E6*I(vc)+20E6*I(ve)+20E6*I(vlp)-20E6*I(vln)
ga 6 0 11 12 852.1E-6
gcm 0 6 10 99 754.1E-12
iee 10 4 dc 42.03E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 1.326E3
rc2 3 12 1.326E3
re1 13 10 94.44
re2 14 10 94.44
ree 10 99 4.759E6
ro1 8 5 88
ro2 7 99 87
rp 3 4 10.14E3
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 40
vln 0 92 dc 40
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=1.400E3)
.ends
* OP37A operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt OP37A 1 2 3 4 5
*
c1 11 12 25.166E-12
c2 6 7 30.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=5.683E6*I(vb)-6E6*I(vc)+6E6*I(ve)+6E6*I(vlp)-6E6*I(vln)
ga 6 0 11 12 7.541E-3
gcm 0 6 10 99 2.125E-9
iee 10 4 dc 510.0E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 132.6
rc2 3 12 132.6
re1 13 10 31.18
re2 14 10 31.18
ree 10 99 392.1E3
ro1 8 5 35
ro2 7 99 35
rp 3 4 12.05E3
vb 9 0 dc 0
vc 3 53 dc 1.900
ve 54 4 dc 1.900
vlim 7 8 dc 0
vlp 91 0 dc 30
vln 0 92 dc 30
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=25.50E3)
.ends
* RC4136 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt RC4136 1 2 3 4 5
*
c1 11 12 2.664E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=6.365E6*I(vb)-6E6*I(vc)+6E6*I(ve)+6E6*I(vlp)-6E6*I(vln)
ga 6 0 11 12 418.0E-6
gcm 0 6 10 99 6.705E-9
iee 3 10 dc 34.28E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 2.652E3
rc2 4 12 2.652E3
re1 13 10 1.122E3
re2 14 10 1.122E3
ree 10 99 5.834E6
ro1 8 5 125
ro2 7 99 125
rp 3 4 24.67E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx PNP(Is=800.0E-18 Bf=121.4)
.ends
* TL022C operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL022C 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=1.697E6*I(vb)-2E6*I(vc)+2E6*I(ve)+2E6*I(vlp)-2E6*I(vln)
ga 6 0 11 12 47.13E-6
gcm 0 6 10 99 6.657E-9
iee 3 10 dc 7.700E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 21.22E3
rc2 4 12 21.22E3
re1 13 10 13.95E3
re2 14 10 13.95E3
ree 10 99 25.97E6
ro1 8 5 125
ro2 7 99 125
rp 3 4 245.1E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 6
vln 0 92 dc 6
.model dx D(Is=800.0E-18)
.model qx PNP(Is=800.0E-18 Bf=37.50)
.ends
* TL061 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL061 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=318.3E3*I(vb)-300E3*I(vc)+300E3*I(ve)+300E3*I(vlp)-300E3*I(vln)
ga 6 0 11 12 94.26E-6
gcm 0 6 10 99 1.607E-9
iss 3 10 dc 52.50E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 10.61E3
rd2 4 12 10.61E3
ro1 8 5 200
ro2 7 99 200
rp 3 4 150.0E3
rss 10 99 3.810E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 15
vln 0 92 dc 15
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=100.5E-6 Vto=-1)
.ends
* TL064 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL064 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=318.3E3*I(vb)-300E3*I(vc)+300E3*I(ve)+300E3*I(vlp)-300E3*I(vln)
ga 6 0 11 12 94.26E-6
gcm 0 6 10 99 1.607E-9
iss 3 10 dc 52.50E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 10.61E3
rd2 4 12 10.61E3
ro1 8 5 200
ro2 7 99 200
rp 3 4 150.0E3
rss 10 99 3.810E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 15
vln 0 92 dc 15
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=100.5E-6 Vto=-1)
.ends
* TL066 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL066 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=318.3E3*I(vb)-300E3*I(vc)+300E3*I(ve)+300E3*I(vlp)-300E3*I(vln)
ga 6 0 11 12 94.26E-6
gcm 0 6 10 99 1.171E-8
iss 3 10 dc 52.50E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 10.61E3
rd2 4 12 10.61E3
ro1 8 5 200
ro2 7 99 200
rp 3 4 150.0E3
rss 10 99 3.810E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 15
vln 0 92 dc 15
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=100.5E-6 Vto=-1)
.ends
* TL071 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL071 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TL072 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL072 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TL074 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL074 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TL075 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL075 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TL083 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL083 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TL084 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt TL084 1 2 3 4 5
*
c1 11 12 3.498E-12
c2 6 7 15.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=4.715E6*I(vb)-5E6*I(vc)+5E6*I(ve)+5E6*I(vlp)-5E6*I(vln)
ga 6 0 11 12 282.8E-6
gcm 0 6 10 99 8.942E-9
iss 3 10 dc 195.0E-6
hlim 90 0 vlim 1K
j1 11 2 10 jx
j2 12 1 10 jx
r2 6 9 100.0E3
rd1 4 11 3.536E3
rd2 4 12 3.536E3
ro1 8 5 150
ro2 7 99 150
rp 3 4 2.143E3
rss 10 99 1.026E6
vb 9 0 dc 0
vc 3 53 dc 2.200
ve 54 4 dc 2.200
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model jx PJF(Is=15.00E-12 Beta=270.1E-6 Vto=-1)
.ends
* TLC3704 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
* NOTE: COMPONENTS ADDED TO SIMULATE ACTIVE PULL-UP
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OPEN COLLECTOR OUTPUT
* | | | | |
.SUBCKT TLC3704 1 2 3 4 5
*
F1 9 3 V1 1
BFOUT 30 5 I=4E-3-40*I(V1)
BEO1 30 0 V=-.75+1*V(3,0)
DO1 5 30 DX
IEE 3 7 DC 100.0E-6
VI1 21 1 DC .75
VI2 22 2 DC .75
Q1 9 21 7 QIN
Q2 8 22 7 QIN
Q3 9 8 4 QMO
Q4 8 8 4 QMI
.MODEL QIN PNP(IS=800.0E-18 BF=10.00E6)
.MODEL QMI NPN(IS=800.0E-18 BF=1002)
.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
E1 10 4 9 4 1
V1 10 11 DC 0
Q5 5 11 4 QOC
.MODEL QOC NPN(IS=800.0E-18 BF=1.810E3 CJC=1E-15 TF=1.357E-9 TR=1.129E-6)
DP 4 3 DX
RP 3 4 -70E3
.MODEL DX D(IS=800.0E-18)
*
.ENDS
* TL062 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OUTPUT
* | | | | |
.SUBCKT TL062 1 2 3 4 5
*
C1 11 12 3.498E-12
C2 6 7 15.00E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
BEGND 99 0 V=.5*V(3,0)+.5*V(4,0)
BFB 7 99 I=318.3E3*I(VB)-300E3*I(VC)+300E3*I(VE)+300E3*I(VLP)-300E3*I(VLN)
GA 6 0 11 12 94.26E-6
GCM 0 6 10 99 1.607E-9
ISS 3 10 DC 52.50E-6
HLIM 90 0 VLIM 1K
J1 11 2 10 JX
J2 12 1 10 JX
R2 6 9 100.0E3
RD1 4 11 10.61E3
RD2 4 12 10.61E3
RO1 8 5 200
RO2 7 99 200
RP 3 4 150.0E3
RSS 10 99 3.810E6
VB 9 0 DC 0
VC 3 53 DC 2.200
VE 54 4 DC 2.200
VLIM 7 8 DC 0
VLP 91 0 DC 15
VLN 0 92 DC 15
.MODEL DX D(IS=800.0E-18)
.MODEL JX PJF(IS=15.00E-12 BETA=100.5E-6 VTO=-1)
.ENDS
* UA741 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt UA741 1 2 3 4 5
*
c1 11 12 4.664E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=10.61E6*I(vb)-10E6*I(vc)+10E6*I(ve)+10E6*I(vlp)-10E6*I(vln)
ga 6 0 11 12 137.7E-6
gcm 0 6 10 99 2.574E-9
iee 10 4 dc 10.16E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 7.957E3
rc2 3 12 7.957E3
re1 13 10 2.740E3
re2 14 10 2.740E3
ree 10 99 19.69E6
ro1 8 5 150
ro2 7 99 150
rp 3 4 18.11E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=62.50)
.ends
* UA747 operational amplifier "macromodel" subcircuit
* connections: non-inverting input
* | inverting input
* | | positive power supply
* | | | negative power supply
* | | | | output
* | | | | |
.subckt UA747 1 2 3 4 5
*
c1 11 12 4.664E-12
c2 6 7 20.00E-12
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
Begnd 99 0 V=.5*V(3,0)+.5*V(4,0)
Bfb 7 99 I=10.61E6*I(vb)-10E6*I(vc)+10E6*I(ve)+10E6*I(vlp)-10E6*I(vln)
ga 6 0 11 12 137.7E-6
gcm 0 6 10 99 2.574E-9
iee 10 4 dc 10.16E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 3 11 7.957E3
rc2 3 12 7.957E3
re1 13 10 2.740E3
re2 14 10 2.740E3
ree 10 99 19.69E6
ro1 8 5 150
ro2 7 99 150
rp 3 4 18.11E3
vb 9 0 dc 0
vc 3 53 dc 2.600
ve 54 4 dc 2.600
vlim 7 8 dc 0
vlp 91 0 dc 25
vln 0 92 dc 25
.model dx D(Is=800.0E-18)
.model qx NPN(Is=800.0E-18 Bf=62.50)
.ends
* 555 timer macro model sub circuit
.subckt TLC555 1 2 3 4 5 6 7 8
EREF 15 1 8 1 .5
GSOURCE 8 3 8 26 12.5E-3
GSINK 3 1 26 1 67E-3
VD1 8 27 DC .8
VD2 28 1 DC .85
VREF 30 1 DC 1.2
C1 29 1 700E-15
RREF2 30 1 100E3
RREF 15 1 100E3
ROUT 3 1 100K
R1 6 1 500E9
R2 2 1 500E9
R3 8 5 75E3
R4 5 9 75E3
R5 9 1 75E3
R6 10 11 1E3
R7 13 14 1E3
R8 8 12 150E3
R9 4 8 500E9
R10 20 19 1E3
R11 16 17 1E3
R12 8 18 150E3
R13 8 21 150E3
R14 22 23 1E3
R15 8 26 150E3
R16 24 25 1E3
R19 7 1 500E9
R20 29 26 1E6
D1 1 11 DMOD
D2 12 11 DMOD
D3 12 14 DMOD
D4 1 14 DMOD
D5 18 17 DMOD
D6 1 17 DMOD
D7 18 19 DMOD
D8 1 19 DMOD
D9 21 14 DMOD
D10 21 25 DMOD
D11 1 23 DMOD
D12 18 23 DMOD
D13 26 25 DMOD
D14 1 25 DMOD1
D15 3 27 DMOD
D16 28 3 DMOD
E1 10 1 6 5 1000
E2 13 1 2 9 1000
E3 16 1 15 12 1000
E4 22 1 15 21 1000
E5 24 1 15 18 1000
E7 20 1 4 30 1000
M1 7 29 1 1 MOSMOD
.MODEL MOSMOD NMOS (LEVEL=1 KP=1 VTO=1 RD=5)
.MODEL DMOD D (RS=1E-6)
.MODEL DMOD1 D (RS=1E-6 IS=1E-9)
.ends
* SCR sub circuit
* A G K
.SUBCKT S2N4171 1 2 3
QP 6 4 1 POUT OFF
QN 4 6 5 NOUT OFF
RF 6 4 600K
RR 1 4 400K
RGK 6 5 112
RG 2 6 4.61
RK 3 5 8.13M
DF 6 4 ZF
DR 1 4 ZR
DGK 6 5 ZGK
.MODEL ZF D (IS=3.2F IBV=100U BV=300 RS=90K)
.MODEL ZR D (IS=3.2F IBV=100U BV=400)
.MODEL ZGK D (IS=3.2F IBV=100U BV=5)
.MODEL POUT PNP (IS=3.2P BF=1 CJE=7.23N TF=179N TR=25.5U)
.MODEL NOUT NPN (IS=3.2P BF=100 RC=32.5M
+ CJE=7.23N CJC=1.44N TF=179N TR=25.5U)
.ENDS
.subckt BridgeRect ac1 pos neg ac2
D1 ac1 pos dswitch
D2 ac2 pos dswitch
D3 neg ac2 dswitch
D4 neg ac1 dswitch
.model dswitch D (is=100e-15 rs=16 cjo=2pf tt=12ns bv=100 ibv=100e-15)
.ends